package com.lanchetech.dao;

import com.lanchetech.bean.request.ShareDetailedReq;
import com.lanchetech.bean.vo.ShareDetailedVo;
import com.lanchetech.entity.ShareDetailed;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Ren
* @description 针对表【share_detailed(分享赚佣金/嗨币详细)】的数据库操作Mapper
* @createDate 2023-03-15 14:08:30
* @Entity com.lanchetech.entity.domain.ShareDetailed
*/
@Mapper
public interface ShareDetailedMapper {

    int deleteByPrimaryKey(Long id);

    int insert(ShareDetailed record);

    int insertSelective(ShareDetailed record);

    ShareDetailed selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ShareDetailed record);

    int updateByPrimaryKey(ShareDetailed record);

    List<ShareDetailed> findAll(ShareDetailedReq req);

    List<ShareDetailedVo> getDetailedByOrderSkuId(Long id);
}
